package com.yssoft.mapper.core;

import com.yssoft.entity.core.TcCompanyModify;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TcCompanyModifyMapper extends Mapper<TcCompanyModify> {
    /**
     * 查询主体变更记录
     *
     * @param companyId
     * @return
     */
    List<TcCompanyModify> queryCompanyModifyList(@Param("companyId") Integer companyId);

    /**
     * 添加主体变革记录
     *
     * @param companyModify
     * @return
     */
    int insertCompanyModify(TcCompanyModify companyModify);
}
